MENU -> Project -> Languages
========================================


     Выберите Project->Languages и один из следующих вариантов, чтобы изменить перевод
(ресурс DLL) настройки для вашего проекта.
Add
Remove
Set Active
Update Resource DLLs

     Вы добавляете языки для своего проекта с помощью мастера Resource DLL. Для каждого добавляемого
вами языка мастер Resource DLL создает отдельную ресурсную DLL или ресурсный проект, организованный
в вашу группу проектов. Каждому проекту автоматически присваивается трехбуквенное расширение в
зависимости от языкового стандарта.

     Если у вас есть внешний диспетчер переводов (ETM), но нет IDE, запустите ETM и щелкните вкладку
Environment. Следуйте инструкциям в разделе Использование внешнего диспетчера переводов.

Чтобы добавить языки в проект:
1.	Save and build your project.
2.	With your project open in the IDE, choose one of the following:

File->New->Other, double-click the Resource DLL wizard, and click Next.
	Choose Project->Languages->Add.

3.	Select your project from the list that appears in the dialog. (That is, make sure a check mark appears in the box to the left of each project you want to process.) At this point, you can also set the root directory for the DLL projects and change the base language (the language of the resources that are currently in the source) setting for Repository queries. Click Next.
4.	Select the languages you want to include in your project by checking the boxes next to them. To remove a language, uncheck its box. 

Select only languages that are translation targets. You don't need to create a resource DLL for the primary (base) language in which you are developing your application, but you can do so if you want.
You can change the DLL extension for any language by clicking in the Extension column. Each language has a three-letter extension where the third letter specifies the minor locale. For example, German (Germany) uses DEU, but if you change the extension to DE, Delphi will load the resource DLLs for any of the German locale settings: German (Germany), DEU; German (Switzerland), DES; or German (Luxembourg), DEL.
Click Next.

5.	Set the directory path for each language’s resource DLL by clicking and typing in the Path column. The directories you specify must fall under the root directory selected in Step 3. Click Next.
6.	To include additional resource files to be translated, click Add File. A copy of the resource is added to each project for which you have selected a language. When you are done adding files, click Next.
7.	The languages you’ve selected appear in the next dialog. For each language:

 If a resource DLL already exists for the language (in the directory you have specified), click in the Update Mode column to select Update or Overwrite. Choose Update to keep and modify the existing DLL project; choose Overwrite to create a new, empty DLL project. If you choose Overwrite, the wizard deletes the old DLL project and any translations it contains.
 If no resource DLL exists, “Create New” appears in the Update Mode column. There are no further options to select.
Click Next.

8.	Click Finish to create or update resource DLLs for the languages you’ve selected and include them in your project, and to remove from your project any languages you’ve canceled the selection of. (When you remove languages, the wizard removes their resource DLLs from your project, but it does not delete the DLLs or the directories they reside in.)
 If the wizard asks to generate a drc file, click Yes. Any project that uses its own resource strings (instead of previously compiled rc files) needs a drc file.
 If you are sure that no new drc files are needed (because your project doesn't introduce any resource strings of its own), you can select the "Skip drc files that are not found" check box in the final dialog. This prevents the wizard from generating, or asking to generate, drc files.

9.	Click Yes to compile. Click Yes again to save your project group. 
The Translation Manager appears. The next step is to translate your application’s resource strings in the Translation Manager and build your DLLs.

Note:	If you don’t want the Translation Manager to appear after the Resource DLL wizard creates translation strings, choose Tools|Translation Tools Options and uncheck Show Translation Manager after RDW.
Because all the generated projects have the same name, they must be kept in separate directories. Do not attempt to edit the generated project (.dpr) files, since your changes will be overwritten the next time the DLL is updated. References to the generated projects are maintained in the parent project's options (.dof) file.

Note:	If Automatic repository query is enabled (Tools|Translation Tools Options), the wizard populates resource DLLs with translations for any strings that have matches in the Translation Repository. Otherwise, the generated projects contain untranslated copies of the resource strings in your original project. 

Topics
Removing a language
Restoring a language
Updating resource DLLs